/**
 * Project SQLiteWrapper
 */


#ifndef _SQLITERECORD_H
#define _SQLITERECORD_H

#include <string>
#include <map>

using std::string;
using std::map;

class SQLiteRecord {
public: 
    
    /**
     * @param column_name
     */
    bool GetBool(const string& column_name);
    
    /**
     * @param column_name
     */
    int32_t GetInt32(const string& column_name);
    
    /**
     * @param column_name
     */
    int64_t GetInt64(const string& column_name);
    
    /**
     * @param column_name
     */
    string GetText(const string& column_name);
private: 
    map<string, const string&> fields_;
};

#endif //_SQLITERECORD_H